# 1.第一变量
member = input('您是否为我们的会员（y会员 n非会员）')
money = int(input('请问消费多少钱'))

# 2.判断
if member == 'y':
    if money >= 200:
        print('打八折')
    elif money >= 100:
        print('打九折')
    else:
        print('不打折')
else:
    if money >= 200:
        print('打九折')
    else:
        print('不打折')